hard SAT algebra problem